package cc.bookcloud.tool.ocr.common.version;

import lombok.Data;

/**
 * @Desc: @todo
 * @Version: 2.0
 * @Author: John Goo
 * @Date: 2022/09/29 10:26
 **/
@Data
public class LineRecord {
    // 修改标志
    private String modifyFlg;
    // fullPath=/src/szjz-cloud-bifrost/branch/zhcz-platform-v2.0.1.1/bifrost-service/bifrost-basic/basic-service/src/main/java/com/szjz/cloud/bifrost/basic/domain/relation/entity/FinancialSupportPersonInfo.java
    // relativePath=bifrost-service/bifrost-basic/basic-service/src/main/java/com/szjz/cloud/bifrost/basic/domain/relation/entity/FinancialSupportPersonInfo.java
    // 代码路径
    //private String codePath;
    // 全路径
    private String fullPath;
    // 相对路径
    private String relativePath;

    public LineRecord(String modifyFlg, String fullPath) {
        this.modifyFlg = modifyFlg;
        this.fullPath = fullPath;
        this.relativePath = fullPath.replace(Const.FIX_DIR,"");




    }

    interface  Const{
        String FIX_DIR="/src/szjz-cloud-bifrost/branch/zhcz-platform-v2.0.1.1/";
    }

}
